package com.ctshk.rpc.order.hotel.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.ctshk.common.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;
import java.time.LocalDate;

/**
 * <p>
 * 酒店手工单（外挂单）
 * </p>
 *
 * @author yinhuan
 * @since 2021-03-08
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_hotel_manual_order")
@ApiModel(value="HotelManualOrder对象", description="酒店手工单（外挂单）")
public class HotelManualOrder extends BaseEntity {

    private static final long serialVersionUID = 1L;

    private Long id;

    @ApiModelProperty(value = "关联订单id")
    private Long orderId;

    @ApiModelProperty(value = "酒店名称")
    private String hotelName;

    @ApiModelProperty(value = "外挂单系统")
    private Long systemId;

    @ApiModelProperty(value = "外挂单系统名称")
    private String systemName;

    @ApiModelProperty(value = "入住日期")
    private LocalDate checkInDate;

    @ApiModelProperty(value = "离店日期")
    private LocalDate checkOutDate;

    @ApiModelProperty(value = "房间名称")
    private String roomName;

    @ApiModelProperty(value = "房间数")
    private Integer roomNumber;

    @ApiModelProperty(value = "是否含早(0否1是)")
    private Integer hasBreakfast;

    @ApiModelProperty(value = "城市id")
    private Long cityId;

    @ApiModelProperty(value = "城市名称")
    private String cityName;

    @ApiModelProperty(value = "币种ID")
    private Long currencyId;

    @ApiModelProperty(value = "币种")
    private String currencyName;

    @ApiModelProperty(value = "汇率")
    private Double exchangeRate;

    @ApiModelProperty(value = "支出金额(成本价)")
    private BigDecimal costPrice;

    @ApiModelProperty(value = "预订服务费")
    private BigDecimal reserveCharge;

    @ApiModelProperty(value = "出票方式(1 门店出票 2 后台出票出票)")
    private Integer ticketMode;

    @ApiModelProperty(value = "旅客资料")
    private String touristInfo;


}
